package com.ita.controller;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.util.Scanner;

import com.ita.processor.ClientProcessor;

public class ClientController {
	private ClientProcessor processor=new ClientProcessor();
	public void commandDispatch(InputStream in, OutputStream out) throws IOException {
		BufferedReader reader=new BufferedReader(new InputStreamReader(in));
		Scanner scanner=new Scanner(System.in);
//		String cmd=scanner.next();
//		System.out.println(cmd);
		
		out.write(scanner.next().getBytes());
		String string=reader.readLine();
		System.out.println(string);
		String yString=scanner.nextLine();
		out.write(yString.getBytes());
		String tip=reader.readLine();
		System.out.println(tip);
		
		
//		String command="";
//		while ((command=reader.readLine()).substring(0, 1).matches("[s|l|r]")){
//			
//			switch (command.substring(0, 2)) {
//			case "sc":
//				
//				processor.processScp(in, out, command);
//				break;
//				
//			default:
//				break;
//			}
//		}
		
	}


}
